package com.project.webpage.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.project.webpage.dto.XlzdDto;
import com.project.webpage.dto.XlzdParam;
import com.project.webpage.mapper.XlzdMapper;
import com.project.webpage.service.XlzdService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class XlzdServiceImpl implements XlzdService {

    @Resource
    private XlzdMapper xlzdMapper;

    @Override
    @DS("master")
    public List<XlzdDto> getListForPage(XlzdParam param) {
        return xlzdMapper.selectListByUid(param);
    }
}
